package com.bwie.es.feign;

import com.bwie.common.domain.Shop;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("bwie-goods")
public interface GoodsFeign {
    @GetMapping("/Shop/list")
    public Result<List<Shop>> list();
}
